package com.usian.apis.admin;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;

public interface AdSensitiveControllerApi {

    /*
    * 根据名称查询敏感词列表
    * */
    public ResponseResult list(SensitiveDto dto);

    /*
    * 敏感词添加
    * */
    public ResponseResult add(AdSensitive adSensitive);

    /*
    * 敏感词修改
    * */
    public ResponseResult update(AdSensitive adSensitive);

    /*
    * 敏感词删除
    * */
    public ResponseResult delete(Integer id);
}
